package com.cloud.user.biz.dto;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/7/7 11:16
 * @Desc
 * @Remarks
 */
public enum LoginType {
    NORMAL(0, "账户密码登录"),
    PHONE_PASS(1, "手机密码登录"),
    PHONE_CODE(2, "手机验证码登录"),
    WECHAT(3, "微信登录");


    private Integer code;
    private String desc;

    LoginType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
